/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package src.model.interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.Timestamp;
import java.util.List;
import src.model.entidades.Nota;
import src.model.entidades.Usuario;

/**
 *
 * @author Reginaldo
 */
public interface DBServices extends Remote {
   
    public abstract Usuario login(String emailUsuario, String senhaUsuario) throws RemoteException;
    
    public abstract boolean criarNota(String titulo, String desc, Timestamp prazo, int usuario_id) throws RemoteException;
    
    public abstract boolean deletarNota(int id) throws RemoteException;
    
    public List<Nota> getNotas(int idUsuario) throws RemoteException;
}
